package com.xmy.cultivate.context;

public class ApiContext {
    private static final ThreadLocal<String> METHOD_ALIAS = new ThreadLocal<>();

    public static void setMethodAlias(String alias) {
        METHOD_ALIAS.set(alias);
    }

    public static String getMethodAlias() {
        return METHOD_ALIAS.get();
    }

    public static void clear() {
        METHOD_ALIAS.remove();
    }
}
